<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.zmht.specedu.vo.Fengongtype"%>
<%@page import="com.zmht.specedu.vo.Bjclass"%>
<%@page import="com.zmht.specedu.frame.model.PageInfoModel"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<%
	/**
	 * @author 张天兴
	 * @since 2009/05/08
	 */

 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<fmt:setBundle basename="PathResource" scope="session" />
<meta http-equiv="Content-Type" content="text/html; charset=gb18030" />
<title>聋校备课与语言学习及矫治系统</title>
<link href="<%=request.getContextPath()%>/<fmt:message key='StylePath' />style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/<fmt:message key='jquery' />ajaxHelper.js"></script>
<script type="text/javascript">
          
          
          function query()
          {
          
           document.forms[0].submit();
          }
          
          
          function checkZero()
          {
          var pageSize=document.forms[0].pageSize.value;
          if (pageSize==0)
           alert("对不起，你输入的页码错误！请重新输入！");
           return false;
          }
        </script>
<script src="<%=request.getContextPath()%>/<fmt:message key='JavaScriptPath' />validate.js"></script>
</head>

<body class="bcolor">
<html:form  method="post" action="classAction.do?method=lookUp"  onsubmit="return checkZero();">
     <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#a7c8e6">
    <tr>
      <td><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="fontbot">
        <tr>
          <td width="10%" align="right" valign="middle" bgcolor="#FFFFFF">教师姓名：</td>
          <td width="15%" valign="middle" bgcolor="#FFFFFF">
         <html:text property="teacherName"  styleClass="boxcopy2" style="width:100px;" />
          </td>
          <td width="10%" align="right" valign="middle" bgcolor="#FFFFFF">班级类别：</td>
          <td width="15%" valign="middle" bgcolor="#FFFFFF">
             <html:select property="classNumber" styleClass="boxcopy2"  style="width:100px;">
            <option value="所有">所有</option>
            <html:optionsCollection name="list2" label="gradeAndClassNumber" value="classId"/>
            </html:select>
          </td>
          <td width="50%" valign="middle" bgcolor="#FFFFFF"><a href="javascript:query();" onfocus="this.blur()"><img src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />gif-03.gif" width="53" height="22" border="0" /></a></td>
        </tr>
      </table></td>
    </tr>
  </table>
  <table cellspacing="0" cellpadding="0" width="99%" align="center" border="0">
    <tbody>
      <tr>
        <td width="7"><img height="38" alt="" src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_01.gif" 
      width="7" /></td>
        <td background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_05.gif"><table cellspacing="0" cellpadding="0" width="100%" border="0">
            <tbody>
              <tr>
                <td width="30"><img height="38" alt="" src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_02.gif" 
            width="30" /></td>
                <td align="left" width="200" 
            background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_03.gif">&nbsp;<b>班 级 浏 览</b></td>
                <td width="59"><img height="38" alt="" src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_04.gif" 
            width="59" /></td>
                <td>&nbsp;</td>
              </tr>
            </tbody>
        </table></td>
        <td width="8"><img height="38" alt="" src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_06.gif" 
      width="8" /></td>
      </tr>
      <tr>
        <td background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_07.gif"><img height="1" 
      src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />spacer.gif" width="1" /></td>
        <td bgcolor="#f7fbff"><table cellspacing="1" bordercolordark="#ccccff" cellpadding="3" width="100%" 
      bgcolor="#cfe5f5" bordercolorlight="#ffffff" border="0">
            <tbody>
              <tr bgcolor="#a4c9ec">
                <td width="20" align="middle">&nbsp;</td>
                <td align="middle"><b>班级编号</b></td>
                <td align="middle"><strong>班级类别</strong></td>
                <td align="middle"><strong>教师姓名</strong></td>
                <td align="middle"><b>班级创建时间</b></td>
                <td align="middle"><strong>浏 览</strong></td>


              </tr>
               <%int k=0; %>
        <logic:iterate id="result" name="pagenitionModel" property="resultItems">
              <tr bgcolor="#ffffff">
                <td><%=++k %>.&nbsp;</td>
                <td align="middle" width="25%"><bean:write name="result" property="gradeAndClassNumber" /></td>
                <td align="middle" width="10%"><bean:write name="result" property="bjclasstype.typeName" /></td>
                <td align="middle"><bean:write name="result" property="teacherstr" filter="false"/></td>
                <td align="middle"><bean:write name="result" property="addtime1"/></td>
                <td align="middle">
					<img onclick="openWindow('classAction.do?method=look&classId=<bean:write name="result" property="classId" />',650,230,true,'班级浏览');" 
							style="cursor:pointer;"
							src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />yulan.gif" width="20" height="20" border="0" /></td>
               
              </tr>
      </logic:iterate>

            </tbody>
          </table>
          

        <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
          <tr>
            <td bgcolor="#e6f0f8">
            <jsp:include page="../../common/pagination.jsp"></jsp:include>
           </td>
          </tr>
        </table>
          
          </td>
        <td background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_09.gif"><img height="1" 
      src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />spacer.gif" width="1" /></td>
      </tr>
      <tr>
        <td><img height="22" alt="" src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_10.gif" width="7" /></td>
        <td background="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_11.gif">&nbsp;</td>
        <td><img height="22" alt="" src="<%=request.getContextPath() %>/<fmt:message key='CommonImagePath' />table_1_12.gif" 
  width="8" /></td>
      </tr>
    </tbody>
  </table>
</html:form>
</body>
</html>
 